/*
 * Copyright (c) 2024 HiSilicon (Shanghai) Technologies CO., LIMITED.
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 *
 * Description: SLE Device Manager, module.
 */

/**
 * @defgroup sle_device_manager Device Manager API
 * @ingroup  SLE
 * @{
 */

#ifndef SLE_DEVICE_MANAGER
#define SLE_DEVICE_MANAGER

#include <stdint.h>
#include "errcode.h"
#include "sle_common.h"

#ifdef __cplusplus
extern "C" {
#endif

/**
 * @if Eng
 * @brief  Registering the Path for Storing SLE Device Persistence Information.
 * @par    Registering the Path for Storing SLE Device Persistence Information.
 * @attention Applicable to the Linux system.
 * @param [in] path file store path.
 * @retval error code.
 * @else
 * @brief  注册SLE设备持久化信息存储路径。
 * @par    注册SLE设备持久化信息存储路径。
 * @attention 适用于linux系统。
 * @param [in] path 文件持久化路径。
 * @retval 执行结果错误码。
 * @endif
 */
errcode_t sle_dev_manager_register_file_path(const uint8_t *path);

#ifdef __cplusplus
}
#endif
#endif /* SLE_DEVICE_MANAGER */
/**
 * @}
 */
